public class Rectangle {
    private  int width;
    private  int height;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
    Rectangle(){}
    Rectangle(int width,int height){
        this.height=height;
        this.width=width;
    }
    void cirumference(){
        int c=(width+height)*2;
        System.out.println("周长是："+c);
    }
    int area(){
        int a =width*height;
        return a;
    }
}
